{{--<img style="width: 80px;height: 80px;" src="{{ $customer->avatar }}">--}}
{{--{{ $customer->name }}--}}
{{--{{ $customer->provincename->name }}--}}
{{--{{ $customer->cityname->name }}--}}
{{--{{ $customer->machine_count}}--}}
{{--{{ $customer->all_points-$customer->use_points }}--}}

{{--<a href="{{ route('mounts.index') }}"  >我的净水器</a>--}}
{{--<a href="{{ route('services.index') }}"  >我的工单</a>--}}
{{--<a href="{{ route('customers.orders') }}"  >我的订单</a>--}}
{{--<a href="{{ route('customers.filters') }}"  >我的滤芯</a>--}}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>雷谛科技</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css" href="{{ URL::asset('newstyle/css/drink.css') }}" />
</head>
<body>

<header id="header">
    <a href="{{ route('buyrecords.index') }}">
        <img src="{{ URL::asset('newstyle/images/arrow_left.png') }}" alt="" width="8" class="arrow_left">
    </a>
    <h3>至尊vip功能</h3>
</header>
<section id="section9">
    <ul>
        @foreach($mountrecords as $mountrecord)
        <li>            
            <ul>
                <li>
                    <dl>
                        <dd>
                            <span>成功邀请{{ $mountrecord->customer->name }}注册</span><em>{{ $mountrecord->created_at }}</em>
                        </dd>

                        @if($mountrecord->action == 1)
                        <dd class="cl">安装{{ $mountrecord->mount->machine->name }}</dd>
                        <dd>当前机器状态：
                            @if($mountrecord->mount->state == 0)
                            申请试用中
                            @elseif($mountrecord->mount->state == 1)试用中
                            @elseif($mountrecord->mount->state == 2)订购中
                            @elseif($mountrecord->mount->state == 3)使用中
                            @elseif($mountrecord->mount->state == 4)拆机中
                            @elseif($mountrecord->mount->state == 5)已拆机
                            @elseif($mountrecord->mount->state == 6)使用中
                            @elseif($mountrecord->mount->state == 7)换芯中
                            @elseif($mountrecord->mount->state == 8)维修中
                            @endif</dd>
                        @endif
                    </dl>
                </li>
            </ul>
        </li>
        @endforeach
    </ul>
</section>
</body>
</html>